package archer.application.elastic.mock.point;

import archer.framework.utils.DateProcessor;

import java.sql.Timestamp;

/**
 * @author christ
 * @date 2016/7/7
 */
public class ArcherApplicationPointModule {

    /**
     * 加积分类型
     * 签到,邀请,连续登陆
     */
    public interface AddPointType {
        String SIGN_IN = "SIGN_IN";
        String INVITE = "INVITE";
        String INSIST_LOGIN = "INSIST_LOGIN";
    }

    /**
     * 减积分类型
     * 兑换,清零
     */
    public interface SubPointType {
        //清零
        String CLEAN = "CLEAN";
        // 兑换优惠券
        String COUPON = "COUPON";
    }

    /**
     * 默认的积分过期时间
     */
    public static Timestamp defaultExpireTime = DateProcessor.date("2099-12-31 23:59:59").getTimestamp();
}
